package com.hysf.di.pro2_autowired_annotation;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.*;

@Configuration
@ComponentScan
public class AppTest {
	public static void main(String[] args) {
		ApplicationContext context = new AnnotationConfigApplicationContext(AppTest.class);
		OrderBix orderBix = context.getBean(OrderBix.class);
		orderBix.save();
		orderBix.update();
	}
}
